<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>单文件上传</p>
    <form action="upload" method="POST" enctype="multipart/form-data">
        <p>文件: <input type="file" name="file"/></p>
        <p><input type="submit" /></p>
    </form>
    <hr/>
    <p>多文件上传</p>
    <form action="batch" method="POST" enctype="multipart/form-data">
        <p>文件1: <input type="file" name="file"/></p>
        <p>文件2: <input type="file" name="file"/></p>
        <p><input type="submit" value="上传" /></p>
    </form>
    <hr/>
</body>
</html>